package com.demo.yang.service;

import java.util.List;

import com.demo.yang.bean.Account;
//http://blog.csdn.net/gebitan505/article/details/44455235/
public interface AccountService {

	//登陆
	Account login(String accountNo,String pwd);
	
	//账号是否存在
	boolean isExistAccount(String accountNo);
	
	//注册
	int register(Account account);
	
	//根据账号/密码查询用户
	List<Account> getAccountByNo(String accountNo);
	
	//新增用户
	int addAccount(Account account);
}
